package com.kws.commercial.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <b>CommercialSingleQuotation</b>
 *
 * @description: CommercialSingleQuotation <br>
 * @date: 2024/10/28 13:24 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class CommercialSingleQuotation implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "项目ID")
    private Long quotationDetailsId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目描述")
    private String projectDescription;

    @ApiModelProperty(value = "单项价格")
    private BigDecimal itemizedPrice;

    @ApiModelProperty(value = "附件地址")
    private String accessoryUrl;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuotationDetailsId() {
        return quotationDetailsId;
    }

    public void setQuotationDetailsId(Long quotationDetailsId) {
        this.quotationDetailsId = quotationDetailsId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectDescription() {
        return projectDescription;
    }

    public void setProjectDescription(String projectDescription) {
        this.projectDescription = projectDescription;
    }

    public BigDecimal getItemizedPrice() {
        return itemizedPrice;
    }

    public void setItemizedPrice(BigDecimal itemizedPrice) {
        this.itemizedPrice = itemizedPrice;
    }

    public String getAccessoryUrl() {
        return accessoryUrl;
    }

    public void setAccessoryUrl(String accessoryUrl) {
        this.accessoryUrl = accessoryUrl;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", quotationDetailsId").append(quotationDetailsId);
        sb.append(", projectName=").append(projectName);
        sb.append(", projectDescription=").append(projectDescription);
        sb.append(", itemizedPrice=").append(itemizedPrice);
        sb.append(",accessoryUrl=").append(accessoryUrl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
